/*
 * @Author: wangc
 * @Date: 2021-03-15 12:54:06
 * @Description: 公共接口  上传  8087
 */
import { request } from '@/utils/request'

// 获取资源token
export function getUploadKey(data, callBack) {
    return request({
        url: '/resource/gen_upload_token',
        method: 'get',
        data,
        isYarn: true
    }, callBack)
}